#ifndef AUXFUNCTIONS_H_
#define AUXFUNCTIONS_H_

#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>

using namespace std;

/**
 * Manages the choice of the menu option so that, in case the user picks
 * a number not available or writes a letter, the program won't accept the input
 * and will ask again for a valid option.
 */
int manageOptions(int n_options);

/**
 * @return true if _date is not a number
 */
bool isNotNumber(string _date);

/** converts all the characters of a string to upper case */
string toUpper(string str);

#endif /* AUXFUNCTIONS_H_ */
